﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace DHLPricing.OrderInfo
{
    public partial class OrderNumberInput : Form
    {
        public OrderNumberInput()
        {
            InitializeComponent();
        }

        private void btnOK_Click(object sender, EventArgs e)
        {
            string orderNumbers = richTextBoxOrderNumbers.Text.Replace("\n",",");
            OrderInfo.OrdersManage ordersManage = (OrdersManage)this.Owner;
            ordersManage.SetSearchOrderNumbersValue(orderNumbers);
            this.Close();
        }
    }
}
